package com.ts.proj.controller;

import com.ts.base.controller.BaseController;
import com.ts.util.JurisdictionUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class DoucmentController extends BaseController {

    @RequestMapping("/business-document-single")
    public ModelAndView documentSingle(){
        ModelAndView modelAndView = this.getModelAndView();
        String viewName = "login";
        if(JurisdictionUtil.isValid()){
            viewName = "business/document/document-single" ;
        }

        modelAndView.setViewName(viewName);
        return modelAndView;
    }
}
